Skip to content

feat(desktop): reverse agent activity list order (newest first)#2309

Open
gtabidze wants to merge 1 commit into
block:mainfrom
gtabidze:feature/reverse-activity-list
Open

feat(desktop): reverse agent activity list order (newest first)#2309
gtabidze wants to merge 1 commit into
block:mainfrom
gtabidze:feature/reverse-activity-list

Conversation

@gtabidze

Copy link
Copy Markdown

Summary

Reverses the Agent Activity List (session transcript / observer feed) rendering order so that the newest communications appear at the top.

UX Argumentation & Rationale

  • Top-of-Mind Focus: Users monitoring agent activity need to see real-time progress and tool invocations immediately without scrolling to the bottom of long transcripts.
  • Consistent Operational Hierarchy: Aligns with modern operational logs, dev tools, and activity streams where current state is placed at the top.
  • Preserved In-Turn Narrative: Multi-step operations within individual turn blocks (Prompt -> Tool Executions -> Results) remain top-to-bottom for natural human reading order.

Changes Made

  • AgentSessionTranscriptList.tsx: Reversed display block order.
  • RawEventRail.tsx: Reversed raw JSON-RPC event list.
  • agentSessionTranscriptGrouping.ts: Updated deriveTranscriptBlockIds sequence for 1:1 scroll anchoring.
  • agentSessionTranscriptGrouping.test.mjs: Added unit test coverage for reversed block ID order.

Verification

  • Executed pnpm test in desktop/: 184 unit tests passed cleanly.

@gtabidze
gtabidze requested a review from a team as a code owner July 22, 2026 00:16
Signed-off-by: gtabidze <guatabidze@gmail.com>
@gtabidze
gtabidze force-pushed the feature/reverse-activity-list branch from 007293c to e787eb8 Compare July 22, 2026 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant